#define _CRT_SECURE_NO_WARNINGS 1
ORG 0000H
MOV A, R1
CPL A;
ADD A, #01H;
MOV R3, A
MOV A, R0
CPL A;
ADDC A, #00H;
MOV R2, A
SJMP $
END
$